package com.feiclub.subject.domain.convert;

import com.feiclub.subject.domain.entity.SubjectCategoryBO;
import com.feiclub.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SubjectCategoryDomainConverter {
    SubjectCategoryDomainConverter INSTANCE = Mappers.getMapper(SubjectCategoryDomainConverter.class);
    SubjectCategory converterBoToCategory(SubjectCategoryBO subjectCategoryBO);
    List<SubjectCategoryBO>  converterBoListToCategoryList(List<SubjectCategory> categoryList);

}
